﻿// -----------------------------------------------------------------------
// <copyright file="RepositoryRegistration.cs" company="DatamineConsulting">
// Copyright 2013 DatamineConsulting Ltd.
// </copyright>
// -----------------------------------------------------------------------

namespace Kanz4Kidz.Repository
{
    using GenericRepository.EntityFramework;
    using Kanz4Kidz.BusinessModel;
    using Kanz4Kidz.Common.Interface;
    using Microsoft.Practices.Unity;

    /// <summary>
    /// The repository registration
    /// </summary>
    public class RepositoryRegistration : IRegistrationModule
    {
       
        #region Implementation of IRegistrationModule

        /// <summary>
        /// Registers the dependencies.
        /// </summary>
        /// <param name="container">The container.</param>
        public void RegisterDependencies(IUnityContainer container)
        {
            container.RegisterType<IEntityRepository<Member>, EntityRepository<Member>>();
        }

        /// <summary>
        /// Registers the mappings.
        /// </summary>
        public void RegisterMappings()
        {
            
        }

        #endregion
    }
}
